package club.zhcs.capture.biz.auth;

import club.zhcs.capture.bean.auth.UserRole;

import java.util.List;


public interface IUserRoleService {

	List<UserRole> findByUserId(int id);

	UserRole addUserRole(UserRole ur);

	/**
	 * 根据角色id查询
	 * 
	 * @param id
	 *            角色id
	 * @return
	 */
	List<UserRole> findByRoleId(int id);

}
